package com.bdqn.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.entity.OmsOrderItem;
import com.bdqn.entity.responseDate.order.OmsOrderItemDto;
import com.bdqn.mapper.OmsOrderItemMapper;
import com.bdqn.service.OmsOrderItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 订单商品明细表 服务实现类
 * </p>
 *
 * @author hunter
 * @since 2022-04-30
 */
@Service
public class OmsOrderItemServiceImpl extends ServiceImpl<OmsOrderItemMapper, OmsOrderItem> implements OmsOrderItemService {

    @Autowired
    private OmsOrderItemMapper omsOrderItemMapper;

    @Override
    public List<OmsOrderItemDto> selectOrderItemListByOrderId(String orderId) {
        return omsOrderItemMapper.selectOrderItemListByOrderId(orderId);
    }
}